<template>
  <div>
    订单修改
  </div>
</template>

<script>
import { getOrderDetailReq } from '@/api/order'
  export default {
    data() {
      return {
        id: '',
      }
    },
    methods:{
     async getdetail(){
        this.id=this.$route.params.id
        console.log(this.id);
        let res=await getOrderDetailReq({id:this.id })
         
          let {data}=res.data
          console.log(data);
      }
    },
    created(){
      this.getdetail()

    }
    
  }
</script>

<style lang="scss" scoped>

</style>